$(function(){	
    console.log(124563)
	router.start({
        view: '#ui-view',
        errorTemplateId: '#error', // 可选
        router: {
            'home': {
                templateUrl: './pages/home/index.html',
                controller: './pages/home/index.js',
                styles:'./pages/home/index.css',
                animate:'right'
            },
			'detail':{
				templateUrl: './pages/detail/index.html',
                controller: './pages/detail/index.js',
                styles:'./pages/detail/index.css',
                animate:'right'
			},
            'defaults': 'home' //默认路由
        }
    });
});
